<template>
  <el-button type="info" @click="btnClick" v-bind="$attrs">
    <!-- <i class="iconfont icon-daochu" style="font-size: 14px;"></i> -->
    {{ name }}
  </el-button>
</template>

<script>
export default {
  name: 'ZExportBtn',
  props: {
    name: {
      type: String,
      default: '导出'
    }
  },
  methods: {
    btnClick() {
      this.$emit('click')
    }
  }
}
</script>

<style lang="scss" scoped>
.btn-export {
  // background: linear-gradient(0deg, #1B4BFF, #1BAFFC);
  // border-radius: 4px;
  // color: white;
  // border: 0;
}
</style>
